home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / login.man < prev    next >
Encoding:
Text File  |  1989-04-10  |  3.4 KB  |  135 lines

  1.  
  2.  
  3.  
  4. LOGIN                     User Commands                     LOGIN
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NNAAMMEE
  11.      login - Allow a user to login
  12.  
  13. SSYYNNOOPPSSIISS
  14.      llooggiinn [_o_p_t_i_o_n_s] [_u_s_e_r]
  15.  
  16. OOPPTTIIOONNSS
  17.      --hheellpp          Print a summary of the  command-line  options
  18.                     and exit without performing any logins.
  19.  
  20.      --ll             Don't record information about the user in  a
  21.                     file of logins.  The default is to record the
  22.                     login and logout in a file of logins used  by
  23.                     programs like ffiinnggeerr.
  24.  
  25.      --PP _p_o_r_t_N_u_m     Use _p_o_r_t_N_u_m as  the  port  number  associated
  26.                     with   this  login  in  the  file  of  logins
  27.                     (ignored if the --ll option is given).
  28.  
  29.      --rr             Repeat:  when a login shell exits, prompt for
  30.                     another   account  and  password,  and  start
  31.                     another login  shell.   The  default  is  for
  32.                     llooggiinn  to  exit  as  soon  as its login shell
  33.                     exits.
  34.  
  35.      --dd _d_e_v_i_c_e      Use _d_e_v_i_c_e for  the  login  rather  than  the
  36.                     current tty.
  37.  
  38. _________________________________________________________________
  39.  
  40.  
  41. DDEESSCCRRIIPPTTIIOONN
  42.      If an extra argument is given, llooggiinn uses that name  as  the
  43.      name  of  the  user to log in.  Otherwise, it prompts for an
  44.      account name.  In either case, llooggiinn prompts for a password.
  45.      If  the  password matches the account, the user is logged in
  46.      and a command shell is run for the user.  Information  about
  47.      the  account,  password,  home directory, and login shell is
  48.      taken from //eettcc//ppaasssswwdd.  If the password does not match  the
  49.      account, or the account doesn't exist, llooggiinn will prompt for
  50.      a new account and password.
  51.  
  52.      If _d_e_v_i_c_e is given, then llooggiinn attempts to use  it  for  the
  53.      standard input, standard output, and standard error channels
  54.      associated with the login.  If  no  _d_e_v_i_c_e  is  given,  then
  55.      llooggiinn  uses  the standard I/O channels provided to it by the
  56.      shell.
  57.  
  58.      Normally, llooggiinn waits for the login  shell  to  exit,  which
  59.      signals  the end of the login session, and then llooggiinn exits.
  60.      If, however, the --rr switch is given, then llooggiinn will  repeat
  61.      itself, asking for another account and password, and running
  62.  
  63.  
  64.  
  65. Sprite v.1.0        Printed:  April 10, 1989                    1
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72. LOGIN                     User Commands                     LOGIN
  73.  
  74.  
  75.  
  76.      another login shell.  This will repeat indefinitely.  If the
  77.      repeat  switch  is  not given, logins will time out after 60
  78.      seconds if they are not completed.
  79.  
  80.      If the --ll switch isn't given, then llooggiinn will record  infor-
  81.      mation  about the login and logout in a file for use by pro-
  82.      grams like Finger.  The --PP switch is used to indicate  which
  83.      of  several  ports  to  associate  with the login.  If --ll is
  84.      given, then no login information is recorded.
  85.  
  86. KKEEYYWWOORRDDSS
  87.      account, login, password, user
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131. Sprite v.1.0        Printed:  April 10, 1989                    2
  132.  
  133.  
  134.  
  135.